var element_color = {C:"black",O:"red",H:"white",P:"purple",S:"yellow"};

var availableTags = [
      "ActionScript",
      "AppleScript",
      "Asp",
      "BASIC",
      "C",
      "C++",
      "Clojure",
      "COBOL",
      "ColdFusion",
      "Erlang",
      "Fortran",
      "Groovy",
      "Haskell",
      "Java",
      "JavaScript",
      "Lisp",
      "Perl",
      "PHP",
      "Python",
      "Ruby",
      "Scala",
      "Scheme"
    ];

function getMilliForMinute(minute){
	return parseInteger(minute)*60*1000;
}

function getMilliForSecond(second){
	return parseInteger(minute)*60;
}

function isNumeric(str){
	return !isNaN(str);	
}

function isLowerCase(str){
        if (str == str.toLowerCase()) {
                return true;
        }
        return false;
}

function isUpperCase(str){
    	if (str == str.toUpperCase()) {
    		return true;
    	}
	return false;
}

function maxWindow()
{
window.moveTo(0,0);


if (document.all)
{
  top.window.resizeTo(screen.availWidth,screen.availHeight);
}

else if (document.layers||document.getElementById)
{
  if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth)
  {
    top.window.outerHeight = screen.availHeight;
    top.window.outerWidth = screen.availWidth;
  }
}
}
